How to install Cisco Packet Tracer 7 in Linux Mint / Ubuntu

Ready to learn about Cisco ? Let me show you how to install Packet Tracer in Linux.

Cisco Packet Tracer is an awesome and free application where you can simulate Cisco networking environment without a need of a physical network infrastructure.

First you need to download the latest version from the netacad website by clicking on the link below, and following the instructions.

You will need to register and enroll (all for free) before you can download Packet Tracer

https://www.netacad.com/courses/packet-tracer

At this time the latest version is 7.1.1, the file I've downloaded is : Packet Tracer 7.1.1 for Linux 64bit.tar.gz

Create a temp folder within you Download directory, let's call it ptracer ( /home/yourprofile/Downloads/ptracer/

Copy the tar.gz file into this folder and extract it.

Make sure the file "install" is executable (chmod +x install - in case it's not) and run it either from your terminal :  sudo bash install or by double clicking on it and run it from terminal.

You will be greeted by the installation message, press Enter

"Welcome to Cisco Packet Tracer 7.1.1 Installation

Read the following End User License Agreement "EULA" carefully. You must accept the terms of this EULA to install and use Cisco Packet Tracer.
Press the Enter key to read the EULA."

After reading the EULA, accept it by typing Y

The next step will ask you if you're happy to install it into /opt/pt

"Enter location to install Cisco Packet Tracer or press enter for default [/opt/pt]:"

press Enter here and your installation should complete ( you can create symbolic link here if you want just accept the defaults.)

To create a desktop icon (demonstrating it on Cinnamon) right click on your desktop, "Create new launcer", you can set the name to anything, in my case it's "Cisco Packet Tracer", command should point to /opt/pt/packettracer

undefined

 

Once your icon is created, launch it, log in with your Cisco registration and enjoy.

2 useful bash script to establish whether your host is up or down.

You might going to find yourself in a situation where you need to be able to do an action if a certain host is available or disconnected from the network. 

Here are 2 bash scripts what can help you achieve this

The first script will ping the HOST until it's unavailable on the network.

#!/bin/bash
# Ping until host is down!
UNREACHEABLE=0;
while [ $UNREACHEABLE -ne "2" ]; 
   do ping -q -c 1 pampog.com &> /dev/null; UNREACHEABLE=$?; echo "Establishing connection, host is UP! "$UNREACHEABLE; sleep 1;
done
echo "Host is DOWN!";

The second script will ping the HOST until it's available on the network, and then it exits.

#!/bin/bash
# Ping until host is UP!.
UNREACHEABLE=1;
while [ $UNREACHEABLE -ne "0" ]; 
   do ping -q -c 1 pampog.com &> /dev/null; UNREACHEABLE=$?; echo "Establishing communication with Host..."; sleep 1;
done
echo "Host is UP!";

How to clean your Linux Mint system from old systemfiles, unused files, trash and old kernels.

How to clean your system from old systemfiles, trash and old kernels.

Found an excellent script on linuxmint.com for cleaning your system of unwanted files, I have updated the script to use APT instead of APTITUDE but you can also change this to your preference, here you can also find the script and the link to the original site.

First create a file, in terminal type 

nano cleanup

and cut and paste the following code into the file

#!/bin/bash

OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
LINUXPKG="linux-(image|headers|ubuntu-modules|restricted-modules)"
METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL)
YELLOW="\033[1;33m"
RED="\033[0;31m"
BLUE="\e[34m"
GREEN="\e[92m"
ENDCOLOR="\033[0m"
clear

if [ $USER != root ]; then
echo -e $BLUE"Linux Mint 18.x System cleanup script"$ENDCOLOR
echo -e $RED"Error: Please run this script as ROOT"
echo -e $YELLOW"Exiting."$ENDCOLOR
exit 0
fi

echo -e $BLUE"Linux Mint 18.x System cleanup script."$ENDCOLOR
echo " "
echo -e $YELLOW"Updating current pacgakes...in progress"$ENDCOLOR
apt update

echo -e $YELLOW"Cleaning apt cache...in progress"$ENDCOLOR
sudo apt autoclean
sudo apt autoremove
echo -e $GREEN"Completed."$ENDCOLOR

echo -e $YELLOW"Removing old config files...in progress"$ENDCOLOR
sudo apt purge $OLDCONF
echo -e $GREEN"Completed."$ENDCOLOR

echo -e $YELLOW"Removing old kernels...in progress"$ENDCOLOR
sudo apt purge $OLDKERNELS
echo -e $GREEN"Completed."$ENDCOLOR

echo -e $YELLOW"Emptying Trash folders...in progress"$ENDCOLOR
rm -rf /home/*/.local/share/Trash/*/** &> /dev/null
rm -rf /root/.local/share/Trash/*/** &> /dev/null
echo -e $GREEN"Completed."$ENDCOLOR
echo " "
echo -e $BLUE"System cleanup completed."$ENDCOLOR

Now we have to make it executable, so run the chmod command

chmod +x cleanup

and run it as sudo

sudo ./cleanup

Link to the original code can be found here :

https://community.linuxmint.com/tutorial/view/373

Install your own retro / vintage terminal in Linux Mint 18.3

Linux Mint 18.3 installation of Cool-Retro-Terminal

GitHub link for the project

undefined

undefined

First you need to install the dependencies:

sudo apt-get install build-essential qmlscene qt5-qmake qt5-default qtdeclarative5-dev qtdeclarative5-controls-plugin qtdeclarative5-qtquick2-plugin libqt5qml-graphicaleffects qtdeclarative5-dialogs-plugin qtdeclarative5-localstorage-plugin qtdeclarative5-window-plugin

Once you have installed all dependencies needed you need to compile and run the application:

# Get it from GitHub
git clone --recursive https://github.com/Swordfish90/cool-retro-term.git

# Build it
cd cool-retro-term

# Compile (Fedora and OpenSUSE user should use qmake-qt5 instead of qmake)
qmake && make

# Have fun!
./cool-retro-term

Enjoy!

 

How to check for Spectre / Meltdown vulnerability in Linux Mint / Ubuntu

Launch your terminal and type in the following commands

mkdir ~/sm
cd ~/sm
wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh
chmod +x ./spectre-meltdown-checker.sh
sudo ./spectre-meltdown-checker.sh

In case your system is ok and is not vulnerable you'll get a similar screen like this in your terminal

undefined

Install OpenTTD (An open source simulator based on the classic game Transport Tycoon Deluxe) under Linux Mint 18.3/2 / Ubuntu

If you would like to play the famous Transport Tycoon Deluxe open source version under Linux Mint 18.* or Ubuntu, follow these steps below.

First you will need to download the stable version of OpenTTD, and according to your architecture select either the 32 or 64 bit versions.

https://www.openttd.org/en/download-stable

undefined

For Linux Mint 18.3 (64 Bit) select "Linux Ubuntu Trusty 14.04 (X86_64, 64bit)"

Once you have downloaded the game, go to this site below and download this binary package : libicu52_52.1-3ubuntu0.8_amd64.deb

undefined

https://ubuntu.pkgs.org/14.04/ubuntu-updates-main-amd64/libicu52_52.1-3ubuntu0.8_amd64.deb.html

Now all you need to do is to launch terminal and install the packages above.

First let's install libicu52_52.1-3ubuntu0.8_amd64.deb by typing the following command into your terminal

sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb

Once it's completed, go ahead and install OpenTTD

sudo dpkg -i openttd-1.7.2-linux-ubuntu-trusty-amd64.deb

If it's completed without any error, you should be able to find OpenTTD in your Applications/Game folder.

← Older postsNewer posts →