How to Install Winamp on Ubuntu/Linux Mint
您是否正在寻找替代的Linux音乐播放器? Winamp可能是一个不错的选择.Winamp支持多种当代和专业音乐文件格式,包括MIDI,MOD,MPEG-1音频层1和2,AAC,M4A,FLAC,WAV,OGG Vorbis和Windows Media音频。它支持MP3和AAC的无间隙播放,以及支持跨音轨音量均衡的重播增益。本文介绍了"如何在Ubuntu / Linux Mint上安装Winamp"
安装Winamp
要安装Winamp,请从存储库中获取Winamp PPA的访问权限,请使用以下命令-
1 | $ sudo add-apt-repository ppa:forkotov02/ppa |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | Releases of Qt-based multimedia player (Qmmp) Installation: sudo add-apt-repository ppa:forkotov02/ppa sudo apt-get update sudo apt-get install qmmp qmmp-plugin-pack libtag1-vanilla Qt4-based version (for Ubuntu 16.04 or higher): sudo apt-get install qmmp-qt4 qmmp-plugin-pack-qt4 More info: https://launchpad.net/~forkotov02/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpr684g0lc/secring.gpg' created gpg: keyring `/tmp/tmpr684g0lc/pubring.gpg' created gpg: requesting key C4FBC3E6 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpr684g0lc/trustdb.gpg: trustdb created gpg: key C4FBC3E6: public key"Launchpad PPA for Ilya Kotov" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK |
然后使用以下命令更新Linux软件包索引–
1 | $ sudo apt-get update |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Ign http://dl.google.com stable InRelease Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB] Hit http://dl.google.com stable/main amd64 Packages Ign http://in.archive.ubuntu.com trusty InRelease Hit http://ppa.launchpad.net trusty InRelease Ign http://extras.ubuntu.com trusty InRelease Get:2 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB] Get:3 http://extras.ubuntu.com trusty Release.gpg [72 B] Get:4 http://ppa.launchpad.net trusty InRelease [15.4 kB] Hit http://extras.ubuntu.com trusty Release Hit http://extras.ubuntu.com trusty/main Sources Hit http://ppa.launchpad.net trusty InRelease Get:5 http://security.ubuntu.com trusty-security/main Sources [108 kB] Get:6 http://in.archive.ubuntu.com trusty-backports InRelease [65.9 kB] Hit http://extras.ubuntu.com trusty/main amd64 Packages ............................................................... |
要安装winamp,请使用以下命令-
1 | $ sudo apt-get install qmmp qmmp-plugin-pack |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic linux-signed-image-4.2.0-27-generic php7.0-opcache Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libadplug-2.2.1-0 libbinio1ldbl libbs2b0 libopusfile0 libqmmp-misc libqmmp0 libqmmpui0 libsidplayfp libxmp4 milkytracker opencubicplayer opencubicplayer-doc schism unmo3 xmp Suggested packages: adplug-utils sidplay2fp goattracker qmmp-plugin-projectm The following NEW packages will be installed: libadplug-2.2.1-0 libbinio1ldbl libbs2b0 libopusfile0 libqmmp-misc libqmmp0 libqmmpui0 libsidplayfp libxmp4 milkytracker opencubicplayer opencubicplayer-doc qmmp qmmp-plugin-pack schism unmo3 xmp 0 upgraded, 17 newly installed, 0 to remove and 10 not upgraded. Need to get 5,614 kB of archives. After this operation, 21.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y ...................................... |
要打开Winamp,请使用以下命令-
1 | $ qmmp |
输出应该是这样的–
要从Linux删除winamp,必须删除winamp ppa,如下所示–
1 | $ sudo add-apt-repository --remove ppa:forkotov02/ppa |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 | Releases of Qt-based multimedia player (Qmmp) Installation: sudo add-apt-repository ppa:forkotov02/ppa sudo apt-get update sudo apt-get install qmmp qmmp-plugin-pack libtag1-vanilla Qt4-based version (for Ubuntu 16.04 or higher): sudo apt-get install qmmp-qt4 qmmp-plugin-pack-qt4 More info: https://launchpad.net/~forkotov02/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel removing it |
要删除Winamp,请使用以下命令-
1 | $ sudo apt-get remove qmmp |
样本输出应如下所示–
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic linux-signed-image-4.2.0-27-generic php7.0-opcache Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: qmmp 0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded. After this operation, 340 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 252174 files and directories currently installed.) Removing qmmp (0.9.7-1ubuntu1~trusty0) ... Processing triggers for gnome-menus (3.10.1-0ubuntu2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.54ubuntu1.1) ... ........................................................ |
恭喜你!现在,您知道"如何在Ubuntu / Linux Mint上安装Winamp"。在下一篇Linux文章中,我们将详细了解这些类型的命令。继续阅读!