ComputersOS

Correct installation of deb packages in Ubuntu

All programs in a Linux distribution such as Ubuntu are installed from special deb packages. It is this extension that is commonly used. In different OSes they can differ, for example, in Windows, all of us familiar, special .exe files are used. As a rule, in the Ubuntu system, to automatically build the program from the repository, the installation of deb packages starts. But sometimes you have to install the program manually, for example, if there is no Internet, or installers are very large (in particular, games).

Windows users probably got used to the last method. Those. Just download the file with the desired extension, double-click and follow the instructions, clicking the "Next" button. In the Linux system, there are differences for this method.

General recommendations

For the correct search and installation of the programs , the following sequence of steps is recommended:

1) Go to the Application Center and try to find the required program there.

2) If you can not find it in a standard source, you can go to the official developer site and see their repository for installation or a link to PPA.

3) In the event that the website is offered only to install the deb package, then it needs to be downloaded and worked with it further.

4) It also happens that you can only find the source code, in this case you have to compile the program yourself.

The best solution is to install deb packages from the repository only for the reason that in the future it will be much easier to update the program. The service for organizing updates on your system will find the latest versions in automatic mode.

It is also worth noting that the official repositories of the program are more reliable than in the sources of developers, since in the latter there are more recent versions, although not so stable.

The installation of deb-files is divided into 2 ways: in graphical mode and terminal.

Installation in graphical mode

First you need to find the package in the file manager, and then double-click on it. Next, the graphic shell of the program will appear on the screen, and if in the official sources there is an older program, then the user will be informed about it. You can close this pop-up window . After that, you need to click "Install package", then you will be asked to enter the administrator password. Any such action must be carried out only with his permission. Then the installation process will begin. At the end of this, you can close all windows and go to the program itself from the Ubuntu menu.

Installation from the terminal

To install the deb package was correct, you need to go to the appropriate folder in the terminal containing the desired file, and type the command: "sudo dpkg -i package_name.deb".

Then follow all the instructions on the screen. If everything went well, you will see a message about the successful installation of the program. In Ubuntu, deb packages may not contain the required dependencies for this program, all required additional package names will be specified, they need to be installed in the same terminal.

conclusions

Only the most necessary and brief description of the installation was presented. There are a lot of special cases, each of which has a lot of its subtleties.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.atomiyme.com. Theme powered by WordPress.