Quick Answer: How to Install Package in Ubuntu?

Quick Answer: How to Install Package in Ubuntu?
Contents

Installing Application using Package in Ubuntu Manually

  • Step 1: Open Terminal, Press Ctrl + Alt +T.
  • Step 2: Navigate to the directories were you have saved the .deb package on your system.
  • Step 3: To install any software or making any modification on Linux require admin rights, which is here in Linux is SuperUser.

To install some file *.tar.gz, you basically would do:

  • Open a console, and go to the directory where the file is.
  • Type: tar -zxvf file.tar.gz.
  • Read the file INSTALL and/or README to know if you need some dependencies.

How To Compile and Install from Source on Ubuntu

  • Ubuntu and other Linux distributions have extensive package repositories to save you the trouble of compiling anything yourself.
  • Type Y and press Enter to confirm installation when prompted.
  • A .tar.gz or .tar.bz2 is like a .zip file.
  • You’ll end up with a directory with the same name as your source code package.

So if you have a .deb file:

  • You can install it using sudo dpkg -i /path/to/deb/file followed by sudo apt-get install -f .
  • You can install it using sudo apt install ./name.deb (or /path/to/package/name.deb ).
  • Install gdebi and open your .deb file using it (Right-click -> Open with).

It automatically checks packages for their dependencies and will try to download them from the Ubuntu software repositories if possible. You may first need to install GDebi – simply install the gdebi package using one of the package managers listed above, or open a Terminal and type sudo apt-get install gdebi.To extract the package, you need to open a terminal and:

  • Change the directory to the directory containing the .tar.bz file: cd /path/to/dir.
  • Extract the bzip2-compressed tarball: tar xjf Manager-0.8.3.998.tar.bz2.
  • Change the directory to the newly created directory (use ls to get the directory listing).
  • Run ./configure .

To install TeX Live, simply install texlive using the Ubuntu Software Centre (or aptitude, apt-get, or synaptic). This will install a basic subset of TeX Live’s functionality. To install the complete TeX Live distribution, install texlive-full.

How do I see installed programs in Ubuntu?

In Ubuntu Unity, you can search for Ubuntu Software Center in Dash and click on it to open it:

  1. Run Ubuntu Software Center.
  2. Check details and then install software.
  3. Enable Canonical partners to access more software.
  4. Find installed software and remove them.

How do I install a package in Linux?

To install a new package, complete the following steps:

  • Run the dpkg command to ensure that the package is not already installed on the system: ?
  • If the package is installed already, ensure it is the version you need.
  • Run apt-get update then install the package and upgrade:
Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.