我在 ubuntu 16.04 中安装了 packettracer6.2。安装成功,但是当我在终端中输入 packettracer 时,除了“启动 packettracer 6.2”之外什么也没有发生。我该如何解决这个问题?
答案1
首先检查您的系统完整性并安装所有升级:
sudo apt-get check
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -f
假设你已经将 CPT 分布提取到~/Downloads/PacketTracer62
。因此cd ~/Downloads/PacketTracer62
然后运行sudo ./install
。
默认情况下它将安装到/opt/cpt
,由安装程序运行apt-get
,然后在中创建符号链接/usr/local/bin
。
在安装过程中我收到有关包的错误消息lib32bz2-1.0
,但安装后我可以packettracer
在我的 64 位 Ubuntu 16.04 LTS 上启动。
看来apt-get
您的机器上的该部分失败了。您可以尝试sudo ./install
再次重新安装 CPT。或者手动安装所有需要的软件包:
sudo apt-get install lib32z1 lib32ncurses5 lib32tinfo5 gcc-6-base:i386 libc6:i386 libgcc1:i386 gcc-5-base:i386 libstdc++6:i386 \
libc6-dev:i386 libssl-dev:i386 libssl1.0.0:i386 linux-libc-dev:i386 zlib1g:i386 zlib1g-dev:i386 \
gstreamer1.0-plugins-base:i386 libaudio2:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 \
libcap2:i386 libcdparanoia0:i386 libcomerr2:i386 libcups2:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 \
libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 \
libfreetype6:i386 libgcrypt20:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libgmp10:i386 \
libgnutls30:i386 libgpg-error0:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhogweed4:i386 \
libice6:i386 libicu55:i386 libidn11:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386 \
libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libllvm5.0:i386 liblzma5:i386 libmng2:i386 libmysqlclient20:i386 libnettle6:i386 \
libogg0:i386 libopus0:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpciaccess0:i386 libpcre3:i386 libpng12-0:i386 libqt4-dbus:i386 \
libqt4-declarative:i386 libqt4-network:i386 libqt4-opengl:i386 libqt4-script:i386 libqt4-sql:i386 libqt4-sql-mysql:i386 libqt4-xml:i386 \
libqt4-xmlpatterns:i386 libqtcore4:i386 libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libselinux1:i386 libsensors4:i386 libsm6:i386 \
libsqlite3-0:i386 libsystemd0:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libuuid1:i386 \
libvisual-0.4-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 \
libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 \
libxi6:i386 libxml2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386 mysql-common qt-at-spi:i386 libqt4-scripttools:i386
并确保安装lib32bz2-1.0
Trusty 遗漏的软件包
wget http://mirrors.kernel.org/ubuntu/pool/main/b/bzip2/lib32bz2-1.0_1.0.6-5_amd64.deb
sudo apt-get install ./lib32bz2-1.0_1.0.6-5_amd64.deb
并重新运行 CPT 安装(确认覆盖):
sudo ./install