ID = linux_ask_01
文章目录
Question
How to install .deb package?
Answer
Follow this procedure to make it:
Step1: Download .deb file
baidunetdisk_linux_3.0.1.2.deb
Step2: Change directory to the download folder
$ cd Downloads
Step3: Install
Command: $ sudo dpkg -i <filename>
Record:
$ sudo dpkg -i baidunetdisk_linux_3.0.1.2.deb
[sudo] password for shane:
Selecting previously unselected package baidunetdisk.
(Reading database ... 188730 files and directories currently installed.)
Preparing to unpack baidunetdisk_linux_3.0.1.2.deb ...
Unpacking baidunetdisk (3.0.1) ...
Setting up baidunetdisk (3.0.1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Step4: Check result
Open the program to check if there is any error.
For me, the result is okay, so this step is the end.
Step5: Error fixing (if check failed)
If there are some errors with unresolved dependencies, run $ apt-get install -f
afterwards