3.6.2. Installing a Debian package#
To demonstrate the steps involved in installing a Debian package, I will download and install RStudio Desktop — an IDE for R, distributed as a Debian package.
1. Downloading Debian package#
Open the RStudio project’s download page in a web browser.
Under Choose Your Version, click on the download button below RStudio Desktop (Open Source License) (Fig. 65).
This will take you to the installers section with information on the current version (Fig. 66).
Although the instructions in Fig. 66 state that you will need to install R before installing RStudio, you can safely skip that step.
The Gdebi program used here, will automatically install R, while installing RStudio.
Scroll down to the All Installers section.
Click on the download link corresponding to Ubuntu 18/Debian 10 (Fig. 67).
In the dialog window that appears, select Save File and then click on the OK button (Fig. 68).
Once the file download is complete, you can find it in your Downloads directory.
2. Installing downloaded package#
Open file manager and navigate to your Downloads directory.
Double-click on the downloaded file (Fig. 69).
This will open the Gdebi application. Click on the Install Package button (Fig. 70).
You will be prompted to enter your password. Type in your password and click on the Authenticate button to proceed (Fig. 71).
As this package has additional dependencies, another dialog will appear listing these packages, which need to be installed in order for it to work.
Click on the Continue button to proceed (Fig. 72).
Installation will now proceed (Fig. 73).
When installation is complete, you will see a message Same version is already installed, at the top of the window (Fig. 74).
3. Launching installed programs#
You can launch installed programs from the Applications Menu (Fig. 75).
This only applies to applications with a graphical user interface.
The main window of the program will be displayed (Fig. 76).