下载地址:http://pan.baidu.com/download
如果没有安装alien,安装
[email protected]:~$sudo apt-get install alien
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
fcitx-libs libfcitx-qt0 libopencc1 libqt4-opengl libqtwebkit4
Use ‘sudo apt autoremove‘ to remove them.
The following additional packages will be installed:
debugedit librpm8 librpmbuild8 librpmio8 librpmsign8 rpm rpm-common rpm2cpio
Suggested packages:
rpm-i18n elfutils rpmlint rpm2html
The following NEW packages will be installed:
alien debugedit librpm8 librpmbuild8 librpmio8 librpmsign8 rpm rpm-common
rpm2cpio
0 upgraded, 9 newly installed, 0 to remove and 41 not upgraded.
Need to get 556 kB of archives.
After this operation, 2,159 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 librpmio8 amd64 4.14.1+dfsg1-2 [74.6 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 librpm8 amd64 4.14.1+dfsg1-2 [173 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 librpmbuild8 amd64 4.14.1+dfsg1-2 [70.5 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 librpmsign8 amd64 4.14.1+dfsg1-2 [8,184 B]
Get:5 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 rpm-common amd64 4.14.1+dfsg1-2 [28.7 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 rpm2cpio amd64 4.14.1+dfsg1-2 [7,988 B]
Get:7 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 debugedit amd64 4.14.1+dfsg1-2 [19.1 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 rpm amd64 4.14.1+dfsg1-2 [119 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 alien all 8.95 [54.5 kB]
Fetched 556 kB in 17s (32.4 kB/s)
Selecting previously unselected package librpmio8.
(Reading database ... 225997 files and directories currently installed.)
Preparing to unpack .../0-librpmio8_4.14.1+dfsg1-2_amd64.deb ...
Unpacking librpmio8 (4.14.1+dfsg1-2) ...
Selecting previously unselected package librpm8.
Preparing to unpack .../1-librpm8_4.14.1+dfsg1-2_amd64.deb ...
Unpacking librpm8 (4.14.1+dfsg1-2) ...
Selecting previously unselected package librpmbuild8.
Preparing to unpack .../2-librpmbuild8_4.14.1+dfsg1-2_amd64.deb ...
Unpacking librpmbuild8 (4.14.1+dfsg1-2) ...
Selecting previously unselected package librpmsign8.
Preparing to unpack .../3-librpmsign8_4.14.1+dfsg1-2_amd64.deb ...
Unpacking librpmsign8 (4.14.1+dfsg1-2) ...
Selecting previously unselected package rpm-common.
Preparing to unpack .../4-rpm-common_4.14.1+dfsg1-2_amd64.deb ...
Unpacking rpm-common (4.14.1+dfsg1-2) ...
Selecting previously unselected package rpm2cpio.
Preparing to unpack .../5-rpm2cpio_4.14.1+dfsg1-2_amd64.deb ...
Unpacking rpm2cpio (4.14.1+dfsg1-2) ...
Selecting previously unselected package debugedit.
Preparing to unpack .../6-debugedit_4.14.1+dfsg1-2_amd64.deb ...
Unpacking debugedit (4.14.1+dfsg1-2) ...
Selecting previously unselected package rpm.
Preparing to unpack .../7-rpm_4.14.1+dfsg1-2_amd64.deb ...
Unpacking rpm (4.14.1+dfsg1-2) ...
Selecting previously unselected package alien.
Preparing to unpack .../8-alien_8.95_all.deb ...
Unpacking alien (8.95) ...
Setting up librpmio8 (4.14.1+dfsg1-2) ...
Setting up debugedit (4.14.1+dfsg1-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up librpm8 (4.14.1+dfsg1-2) ...
Setting up rpm-common (4.14.1+dfsg1-2) ...
Setting up librpmsign8 (4.14.1+dfsg1-2) ...
Setting up librpmbuild8 (4.14.1+dfsg1-2) ...
Setting up rpm2cpio (4.14.1+dfsg1-2) ...
Setting up rpm (4.14.1+dfsg1-2) ...
Setting up alien (8.95) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:~$
[email protected]:Downloads$ sudo alien baidunetdisk_linux_2.0.1.rpm
Warning: Skipping conversion of scripts in package baidunetdisk: postinst postrm
Warning: Use the --scripts parameter to include the scripts.
baidunetdisk_2.0.1-2_amd64.deb generated
[email protected]:Downloads$
[email protected]:Downloads$
[email protected]:Downloads$ sudo dpkg -i baidunetdisk_2.0.1-2_amd64.deb
Selecting previously unselected package baidunetdisk.
(Reading database ... 226308 files and directories currently installed.)
Preparing to unpack baidunetdisk_2.0.1-2deb ...
Unpacking baidunetdisk (2.0.1-2) ...
Setting up baidunetdisk (2.0.1-2) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for hicolor-icon-theme (0.17-2) ...
[email protected]:Downloads$
[email protected]:Downloads$
[email protected]:Downloads$
安装完成
原文地址:https://www.cnblogs.com/herd/p/11032871.html