How to install the latest Kali Linux

Kali Linux is the leading security and penetration testing Linux distribution. It is used by thousands of professionals to find security vulnerabilities and other problems. In this tutorial, we’ll show you how to get Kali working on your computer.

Download the Kali Linux ISO

Kali Linux needs to be downloaded from the internet in the form of an ISO file from the official website. To get your hands on it, head over to this link and download either the Kali Linux 64-bit or the 32-bit release of the operating system.

Note: Kali Linux supports downloading via Torrent. Select the Torrent link next to either the 64-bit or 32-bit release of the OS on the download page.

Alternatively, if you are using Linux and are downloading Kali Linux, you can grab the ISO file directly through the terminal window. To start the download via terminal, use the wget command below.

wget https://cdimage.kali.org/kali-2019.4/kali-linux-2019.4-amd64.iso

or

wget https://cdimage.kali.org/kali-2019.4/kali-linux-2019.4-i386.iso

Making a bootable Kali USB

With the Kali Linux ISO file is done downloading, it is time to create a bootable USB with Kali Linux on it. There are many ways to create bootable USB devices; however, in this guide, we will be focusing on Etcher. The reason? Etcher is cross-platform and works the same on Mac, Linux, and Windows.

To get your hands on the Etcher app, click this link here. Then, install the app to your OS, launch it, and follow the step-by-step instructions below to get a bootable USB working.

Step 1: Find the “Select Image” button and click on it with the mouse. As soon as this button is clicked, a pop-up window will appear on the screen. Use this window to locate the Kali Linux ISO file on your computer.

Step 2: Plug in the USB flash drive, and find the “Select Drive” button. Click on “Select Drive,” and use the menu to select your USB flash drive in the menu.

Step 3: Find the “Flash!” button, and click on it with the mouse to create your Kali Linux bootable USB. Keep in mind that this process may take a bit of time to complete, so be patient!

Installing Kali Linux

To start the installation of Kali Linux, plug in the USB device and reboot the computer into its BIOS. Configure it to load from the USB. Then, follow the step-by-step instructions below.

Step 1: On the boot screen for Kali, use the Up/Down arrows on the keyboard to select “Graphical install.” Then, press the Enter key to load up the installer.

Step 2: In the language selector for the installer, select the language that you speak, and press the “Continue” button to move to the next page.

Step 3: In the location selector in the installer, select where you live to determine your time zone, and press “Continue.”

Step 4: On the keyboard selection page, click on your desired keyboard layout and click the “Continue button to move on.

Step 5: When you make it to the “Configure the network” page, fill out your hostname (AKA your computer’s name). Select the “Continue” button to move to the next page.

Step 6: Set up the domain you’d like your Kali Linux OS to use. Or, leave it blank. Click “Continue” to move on.

Step 7: On the “Set up users and passwords” page, you will first be prompted to set up a root password. Ensure that this password is strong and memorable. Then, click the “Continue” button to move on.

Step 8: At “Configure the clock,” you must choose the time zone Kali will use. Select the time zone from the list available and click “Continue” to confirm your choice.

Step 9: On “Partition disks,” you will be presented with various hard drive partitioning setups. For best results, choose “Guided – use entire disk.” Or, if you’re an advanced Linux user, click “Manual” and set it up yourself.

Step 10: After choosing a partition style, you will be asked to choose a hard drive. Select the drive you wish to set up Kali on and click “Continue.”

Then, on the UI, choose “All files in one partition (recommended for new users) and click “Continue” again.

Step 11: Select “Finish partitioning and write changes to disk” and “Continue” to confirm the automatic partition setup Kali has proposed. Or, modify it if you so choose.

Step 12: Allow the Kali Linux installer to set up the operating system on your computer. Keep in mind that this installation may take some time.

Step 13: After the initial installation is complete, the installer prompts you to configure the package manager. On the page that says “Use a network mirror,” select “Yes,” and click “Continue.”

Step 14: The last step of the installation for Kali Linux is setting up the GRUB bootloader. Under “Install the Grub boot loader to the master boot record?” click “Yes,” followed by “Continue.”

Once the Grub bootloader is set up, Kali Linux is finished installing. Reboot the computer. Upon rebooting, Kali is ready to use!

The post How to install the latest Kali Linux appeared first on AddictiveTips.

How to use the KDE Plasma 5 clipboard manager

If you’re a KDE Plasma 5 user and you’re looking to take control of the clipboard, don’t go installing software like CopyQ. As it turns out, the desktop has it’s own built-in clipboard management tool. In this guide, we’ll go over how to use it.

Enable clipboard management in KDE Plasma 5

By default, the clipboard manager should be enabled on your KDE Plasma 5 desktop. However, on some Linux operating systems, this feature is turned off by default, as not everyone likes a clipboard tool. So, we’ll briefly go over how to enable it.

To start, right-click on the KDE panel with your mouse. From here, locate the “unlock widgets” button, and click it if you have your widgets locked into place. If you do not use “lock widgets,” ignore this step.

After unlocking the widgets on the KDE panel, you are free to edit it and add new things to it. From here, right-click on the panel again, and select “Panel Options” followed by “+ Add Widgets” which will bring up a widget menu on the right.

In the widget menu, search for “clipboard,” and the KDE Plasma 5 clipboard widget will appear. From here, click and drag it to the panel to enable this feature.

Enable KDE clipboard manager in the system tray

While it is possible to add the KDE clipboard manager to the panel, it’s not the only way to enjoy this feature. If you’re not a fan off the widget, it is also possible to add the clipboard manager to the system tray. Here’s how to do it.

First, locate the system tray on the KDE Plasma 5 panel, and right-click on it with the mouse. Right-clicking on the tray will bring up a menu. In the menu, select the “Configure System Tray” option to access the panel tray settings.

Inside of the KDE Plasma 5 system tray settings, there are a lot of options. To enable the clipboard management option, locate “General,” and click on it with the mouse.

Once in the “General” area of the system tray settings, locate “Extra Items.” From there, locate the “Clipboard” option, and click the empty box next to it to enable the feature.

Find the “Apply” button to apply the changes. Be sure to also go to “Entries” if you want to configure how the clipboard manager appears in the system tray (keeping it hidden in the sub-menu or always shown on the panel).

Use KDE Plasma 5 clipboard manager

The clipboard manager works by actively keeping track of everything you copy to the clipboard. For example, if you are on a website, see a bit of text (like a terminal command, book quote, etc) and select the “Copy” option in the right-click menu, the clipboard manager will archive it.

Searching past clipboard pastes

The KDE Plasma 5 clipboard manager is searchable, thanks to the search feature. If you’re trying to find some old text saved to the clipboard from a previous date, here’s what to do.

First, click on the search box with the mouse, then start typing out a string to search for, or any term that you remember copying. The clipboard manager will instantly show results based on the words you type.

Once you’ve found what you need in the search, click on the result and it will replace what is currently in your clipboard. From there, just press Ctrl + V to paste.

Deleting entries from the clipboard manager

The clipboard manager is very useful as it keeps track of text, links, etc. However, sometimes you may want to delete an entry, for whatever reason. Here’s how to erase a saved entry in the clipboard manager.

First, click on the manager in the panel, and search for the entry you’d like to remove. Then, click the remove button to erase it from the manager’s history.

Generate a QR code from clipboard entries

Did you know that the KDE Plasma 5 clipboard manager can actually generate QR codes based on your saved clipboard entries? Seriously! It’s really cool. Here’s how to use this feature.

First, open up the clipboard manager and look through the list of clipboard entries in the manager or, use the search function to find the entry.

Once you’ve located the clipboard entry you’re trying to find, click on it with the mouse. Upon selecting it, you will see four options next to it. Find the “show barcode” one and click on it to instantly generate a QR code.

Edit clipboard paste contents

You may want to modify a clipboard entry in the KDE Plasma 5 clipboard manager. Here’s how to do it.

First, search for the clipboard entry you’d like to edit by using the search function, or by scrolling through to it in the manager. After finding the entry, select it with the mouse. Then, click on the edit button to change the text.

The post How to use the KDE Plasma 5 clipboard manager appeared first on AddictiveTips.

How to install GitKraken on Linux

GitKraken is a robust Git client that can help you take control of your programming code. In this guide, we’ll go over how to install it on Linux systems.

Note: aside from Linux, the GitKraken Git client also supports Mac OS and Windows. For more information, head here.

Ubuntu installation instructions

The GitKraken Git client is available for all Ubuntu Linux users, version 16.04 and above, via a downloadable DEB package. If you’re using Ubuntu and want to get the client working, start out by opening up a terminal window on the desktop. You can open a terminal by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.

Once the terminal window is open,  use the wget command to download the latest DEB version of GitKraken. Alternatively, if you prefer, head over to this link here and download the latest version that way.

wget https://release.gitkraken.com/linux/gitkraken-amd64.deb -O ~/Downloads/gitkraken-amd64.deb

After downloading the DEB package file, use the CD command to move into the “Downloads” directory where the package file is located.

cd ~/Downloads

Inside of the “Downloads” folder, the installation of GitKraken can begin on Ubuntu. Using the Apt package manager, set up the DEB package on your system.

sudo apt install ./gitkraken-amd64.deb -y

Debian installation instructions

The GitKraken Git client is supported by Debian versions 9.0, 10.0 and higher. If you’re looking to get the app working on your system, start by launching a terminal window. To launch a terminal press Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.

When the terminal window is open and ready to go, use the wget command to download the DEB package directly from the internet. Alternatively, click on this link here.

wget https://release.gitkraken.com/linux/gitkraken-amd64.deb -O ~/Downloads/gitkraken-amd64.deb

Once the download is complete, use the CD command to move into the “Downloads” directory.

cd ~/Downloads

Next, use the Dpkg command to start the installation process. Keep in mind that during this installation, you may notice errors pop up on the screen. These are dependency errors and can be fixed by following this guide.

sudo dpkg -i gitkraken-amd64.deb

Arch Linux installation instructions

Arch Linux does not enjoy official support like other Linux distributions. However, it doesn’t matter, as the Arch community has an AUR package that gets it working anyways. To install it on your system, start by launching a terminal and use the Pacman command to set up the “Git” and “Base-devel” packages.

sudo pacman -S git base-devel

With the two packages set up on your Linux PC, use the git clone command to download the Trizen AUR helper.

git clone https://aur.archlinux.org/trizen.git

Set up the Trizen app with the makepkg command.

cd trizen
makepkg -sri

Finally, use the trizen command to set up the latest version of GitKraken.

trizen -S gitkraken

Fedora installation instructions

Fedora Linux has an RPM package file available for those who want to set up GitKraken. To install the app, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. After that, use the wget command to download the file. Or download it here.

wget https://release.gitkraken.com/linux/gitkraken-amd64.rpm -O ~/Downloads/gitkraken-amd64.rpm

Using the CD command, move the terminal window into the “Downloads” directory.

cd ~/Downloads

Finally, install GitKraken on Fedora Linux with the dnf command.

sudo dnf install gitkraken-amd64.rpm

OpenSUSE installation instructions

Thanks to the RPM package file available on GitKraken’s website, you can get the app working on any OpenSUSE Linux distribution. To start the installation, launch a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard.

When the terminal window is open, use the wget command to grab the latest RPM package. Alternatively, download it here.

wget https://release.gitkraken.com/linux/gitkraken-amd64.rpm -O ~/Downloads/gitkraken-amd64.rpm

After downloading the RPM package, move into the “Downloads” directory with the CD command.

cd ~/Downloads

Lastly, install the RPM package to get GitKraken working.

sudo zypper install gitkraken-amd64.rpm

Generic Linux installation instructions

If you’re using a lesser-known Linux operating system, you can still use GitKraken by downloading the GZip archive. To download it, open up a terminal window and use the wget command below.

wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz -O ~/Downloads/gitkraken-amd64.tar.gz

Once the GZip file is done downloading, use the CD command to move into the “Downloads” directory.

cd ~/Downloads

Inside of the “Downloads” folder, use the tar command to extract the contents of the archive.

tar xvf gitkraken-amd64.tar.gz

Finally, run the app with:

cd gitkraken

./gitkraken

Snap package installation instructions

There’s a Snap version of GitKraken, and it’s one of the easiest ways to get the app working on Linux. To start the installation, you must have the Snapd runtime set up on your computer. To set up Snapd, follow this guide here.

When you’ve finished setting up the Snapd runtime, use the snap install command below to get GitKraken installed.

sudo snap install gitkraken

The post How to install GitKraken on Linux appeared first on AddictiveTips.

How to connect to Ubuntu from macOS

If you use Ubuntu Linux but also use an Apple computer running macOS, you may be interested in finding out how to connect your Mac to Ubuntu. In this guide, we will go over how easy it is to connect to Ubuntu from Mac OS using the command-line, and the GUI as well.

Before we begin

To connect to your Ubuntu Linux PC from a computer running Mac OS, you must have an SSH server up and running on Ubuntu. Not to worry, setting this up on Ubuntu is very easy compared to a lot of other Linux operating systems.

To start the process of setting up an SSH server, open up a terminal window on the Ubuntu PC. You can do this by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Once the terminal window is open and ready to go, use the apt install command to install the openssh-server package on the system.

sudo apt install openssh-server

Let the packages install to your Ubuntu PC. When the process is complete, use the ssh localhost command in the terminal. This command will initiate a connection to the SSH server running on Ubuntu and will allow you to test if the connection is indeed working and ready to go.

ssh localhost

Assuming the connection is successful, you will be asked to accept the SSH key. Do so. You will then be connected to the Ubuntu SSH server locally. From here, use the exit command to finish the test.

exit

Setting up SSH on Ubuntu is very simple, and essential to being able to connect your Mac to the operating system. However, not everyone understands SSH. If you had trouble following along with this guide, head over to our in-depth tutorial on SSH to get your server working.

Connect to Ubuntu from the command-line

If you’re a developer and you need access to Ubuntu from the Mac, you’ll probably be wanting access to the command-line. Thankfully, it is possible to connect to Ubuntu from the macOS terminal over SSH.

To start a connection to your Ubuntu PC from macOS, open up the Mac terminal. You can open Terminal from the Applications folder, from the Launchpad, or by searching for it in Spotlight. If you decide to access it from the Applications folder, you will find the Terminal app inside the Utilities folder nested under the Applications folder. Likewise, in Launchpad, the Terminal app is going to be inside the Utilities folder.

Once you have Terminal open, follow the step-by-step instructions below to learn how to connect to Ubuntu over SSH from Mac OS.

Step 1: Write out ssh in the terminal prompt.

ssh

Step 2: Followed by ssh, enter the username of the Ubuntu computer you’re trying to connect to over the command-line. If you can’t figure out the username, go to the Ubuntu PC, and open up a terminal. The user is the name before @ sign. For example:

derrik@ubuntu-pc

Step 3: Followed by the username, write an @ sign, and the hostname of the remote Ubuntu PC. Again, if you can’t remember the hostname, it is shown in the Ubuntu terminal. For example:

derrik@ubuntu-pc

Step 4: Press the return key to initiate the connection to Ubuntu. Be sure to accept the message that pops up when you start a connection.

When the SSH connection is successful, feel free to use the command-line as if you were sitting right in front of the PC!

Connect to Ubuntu from the GUI

You may want to connect to your Ubuntu PC to access its files. The best way to do this is with SFTP, the Secure FTP Server that comes with SSH. To do an SFTP connection on the Mac, you will need a good FTP client, as Finder does not accept SFTP connections. In this guide, we will use Transmit, as it is a very simple to use tool for Mac OS.

Step 1: Download and install the Transmit FTP client on your Mac computer and install the app.

Note: Transmit is not a free app, but it comes with a free 7-day trial. However, if you like it as it makes accessing Ubuntu files on the Mac easier, you can purchase a license here.

Step 2: On the right side of the app, you will see a connection window. Select “SFTP” in the drop-down menu. Then, fill out the hostname of the Ubuntu PC, username, and other connection details.

Step 3: Find the “Connect” button, and click it to log in over SFTP to the Ubuntu PC.

Once Transmit is connected, you will have access to the files on the remote Ubuntu PC from the Mac. From here, you can upload or download files and folders with ease!

The post How to connect to Ubuntu from macOS appeared first on AddictiveTips.

How to play Sinclair ZX Spectrum games on Linux

The ZX Spectrum is an 8-bit computer released in the UK by Sinclair Research. It sold 5 million units and was in production from 1982 to 1992. The Spectrum was very similar to the Commodore 64 and was used for both video games and personal computing. In this guide, we’ll show you how to play ZX Spectrum games on Linux.

Note: Addictivetips in no way encourages or condones the illegal downloading or distribution of ROM files for the ZX Spectrum. If you choose to install Fuse, please use the game ROMs you’ve backed up to your PC, legally.

Install the Fuse ZX Spectrum emulator

Before we go over how to play ZX Spectrum games on Linux, we need to get the Fuse emulator working. Thankfully, the Fuse ZX Spectrum emulator supports all Linux operating systems, including Ubuntu, Debian, Arch Linux, Fedora, and OpenSUSE. It also supports many different OSes, thanks to Flatpak.

To start the installation of the Fuse emulator, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, follow the command-line installation instructions below that match the OS you use.

Ubuntu

On Ubuntu, the Fuse emulator is available in the Universe software repository. To install it, use the Apt command.

sudo apt install fuse-emulator-common

Debian

Debian Linux users can get Fuse on the “Main” software repository. Use the Apt-get command to get it working.

sudo apt-get install fuse-emulator-common

Arch Linux

Fuse emulator is in the AUR. To install it, do the following.

sudo pacman -S git base-devel
git clone https://aur.archlinux.org/trizen.git
cd trizen
trizen -S fuse-emulator

Fedora

Fedora 29, 30, and 31 have the Fuse emulator available for installation. To install it, use the Dnf command below.

sudo dnf install fuse-emulator

OpenSUSE

On OpenSUSE, install Fuse with the zypper command.

sudo zypper install fuse

Flatpak

Flatpak is the easiest way to set up the Fuse emulator on Linux, as it works on every single distribution out there. To get it working, start by enabling the Flatpak runtime on your Linux PC. Then, use the commands below to get the emulator working.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub net.sf.fuse_emulator

Playing games on the Spectrum

To play a video game on the ZX Spectrum, start by launching the Fuse emulator. To do this, launch the app menu on the Linux desktop, find the “Games” section, and click on “Fuse.” Or, search for it in the search box in your Desktop Environment.

Once the Fuse emulator is open and ready to use, find the “File” button, and click on it to open up the “File” menu. Inside this menu, locate the “Open” button, and click on it to gain access to the open-file dialog box.

Browse the open-file dialog for your ZX Spectrum game ROM. This ROM file should be a “TZX” file. The emulator will not handle files in any other format, and could potentially crash if you try to use a different/incompatible file type.

Select the “Open” button in the open-file dialog box once you’ve found your TZX ROM file. It should then instantly load the game into the Fuse emulator, and you’ll be ready to enjoy your favorite ZX Spectrum games.

Saving/Loading

Even though the Spectrum is an ancient computer system, you can still save games. Unfortunately, the game files themselves do not have built-in saving features. Instead, you must make use of the Fuse saving system.

To save a ZX ROM that is in progress, do the following. First, find the “File” button and click it with the mouse to reveal the file menu. Then, look through the “Save Snapshot” option and click on it with the mouse.

By selecting the “Save Snapshot” option, a dialog box will open. Use this dialog box to name your save snapshot. Then, click the “Save” button, and your game will save to a file.

Loading

Need to load your saved ZX Spectrum snapshot? Do the following. First, load up the game ROM the way you’d typically do when starting up a game to play. After the game ROM is loaded, find the snapshot file with the Linux file manager. Then, once you’ve found the snapshot in your file manager, double-click on it with the mouse. It should instantly load up the save exactly where you left off.

Please note that sometimes when loading a snapshot into Fuse, you may see a ROM error. This error doesn’t have to do with the game you’re playing. It’s an error with Spectrum. Feel free to ignore it.

Configure controller

The Fuse emulator has controller support if you prefer to play Spectrum games with a controller. To set up a controller, do the following.

Step 1: Plug your controller into the USB port.

Step 2: Select “Options,” followed by “Joystick” to access the joystick options in Fuse.

Once inside of the Joystick options area, use the UI to configure your controller for the Fuse emulator.

The post How to play Sinclair ZX Spectrum games on Linux appeared first on AddictiveTips.