NVIDIA Jetson Orin Nano- Installing Packages

From RidgeRun Developer Wiki




Previous: In Board/Getting in Board/Ubuntu Index Next: Camera Sensors Support







There are many ways to install packages on the Jetson Orin Nano. Note that the Orin Nano is running a distribution of Ubuntu if you flashed it with JetPack, so many of the methods that work on Ubuntu systems will work on the Orin Nano. This wiki will list the most used methods and give an example for each one. For example on this page, we will install the "nano" package.

With an internet connection

Text based methods

apt-get

sudo apt-get update
sudo apt-get install nano

Aptitude

First, install the "aptitude" package with any of the other methods.

sudo aptitude update
sudo aptitude search nano
sudo aptitude install nano

Web browser method

The APT protocol, or apturl, is a very simple way to install a software package from a web browser. On computers where apturl is enabled, clicking on a special type of link on a web page starts the installation of one or several packages available in the package repositories of this computer. You need to install the "apturl" package with any of the other methods and use the Firefox browser out of the box or configure the other browsers.

To install nano just type apt://nano on your browser address bar.

Graphical method

Synaptic

You need to install the "synaptic" package with any of the other methods.

sudo synaptic
Search "nano" and install

Without an internet connection

Synaptic package download script

  1. On the Orin start Synaptic Package Manager. Search for and "Mark" all the applications that you want to install/upgrade in the usual way.
  2. Instead of clicking the “Apply” button from the toolbar as you would normally do, go to the File menu and select the “Generate Package Download Script” menu option to generate the download script.
  3. A dialogue box will prompt you to save the generated script file. This script file needs to be carried to a machine that has a fast Internet connection to be executed there.
  4. Once the downloads are finished, carry all the downloaded files to Orin Nano.
  5. Start Synaptic Package Manager again and select the same package(s) name(s) that you initially selected. Go to “Add downloaded packages” from the File menu, notice that the window that pops up is titled "Select directory" not "Select file(s)", you do not select individual package files but the directory which contains them. Synaptic will then scan the selected directory for packages and offer to install them.

Using apt-offline

apt-offline is an offline text based apt package manager. You need to install the "apt-offline" package with any of the other methods.

Installing downloaded packages

You can download packages specifically generated for the Jetson Orin Nano and install them. This method can be dangerous if you install packages from unofficial repositories.

  • .deb packages
  • .tar.gz and .tar.bz2 packages
  • .rpm packages



Previous: In Board/Getting in Board/Ubuntu Index Next: Camera Sensors Support