UbuntuUbuntu Based

How To Install WinSCP on Ubuntu 22.04 LTS

Install WinSCP on Ubuntu 22.04

In this tutorial, we will show you how to install WinSCP on Ubuntu 22.04 LTS. WinSCP, a popular FTP client, is a Windows-based application used to transfer data between machines. It offers FTP and SFTP approaches for file transfer. Although primarily available for Windows, WinSCP can also be installed on Ubuntu and other Linux distributions with the help of a Windows emulator, Wine.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the WinSCP on Ubuntu 22.04. You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.

Prerequisites

  • A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • Access the terminal on your Ubuntu system, where we’ll execute the commands for a seamless WinSCP installation.
  • An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for WinSCP.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install WinSCP on Ubuntu 22.04 LTS Jammy Jellyfish

Step 1.  Before starting the installation process, ensure that your system packages are up-to-date. You can do this by running the following command in the terminal:

sudo apt update
sudo apt upgrade

Step 2. Installing Wine.

Before installing WinSCP, you need to install and configure Wine on your Ubuntu system. Wine requires the 32-bit architecture to run Windows applications on a 64-bit Debian system. Enable the 32-bit architecture by executing the following command:

sudo dpkg --add-architecture i386
sudo apt update

Now that your system is prepared, let’s proceed with the Wine installation. To install Wine on Debian 12 Bookworm, we need to add the Wine repository. Execute the following command to add the repository key:

wget -O- https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /usr/share/keyrings/winehq-archive-keyring.gpg

Next, add the repository itself by executing the following command:

echo "deb [signed-by=/usr/share/keyrings/winehq-archive-keyring.gpg] https://dl.winehq.org/wine-builds/debian/ bookworm main" | sudo tee /etc/apt/sources.list.d/winehq.list

Now that the repository is added, update the package lists and install Wine by executing this command:

sudo apt install --install-recommends winehq-stable

During the installation process, you may be prompted to confirm additional packages. Review the prompts carefully and press ‘Y‘ when required.

To ensure that Wine is correctly installed, follow these steps to verify the installation:

wine --version

Step 3. Installing WinSCP on Ubuntu 22.04.

First, download the WinSCP installer from the official WinSCP download page and save the installer to an easily accessible location such as your Downloads folder.

Once the download is complete, open the terminal and navigate to the Downloads directory. You can verify the successful download of the WinSCP installer by listing the contents of the directory:

cd Downloads && ls

Now, use the Wine utility to install the downloaded WinSCP executable file. Run the following command in the terminal:

wine WinSCP-*-Setup.exe

A screen will pop up. Choose the “Install for all users (recommended)” option. Agree with the terms and conditions by clicking on the “Accept” button. Choose the setup type by clicking on the “Typical installation (recommended)” option and click on the “Next” button. Then choose the “Initial User Interface” by clicking the “Commander” and click on the “Next” button to proceed.

Install WinSCP on Ubuntu 22.04 LTS Jammy Jellyfish

Step 4. Access WinSCP on Ubuntu.

Once the installation is completed, go to All Applications and search for “WinSCP”. Double-click on it to run the program. A desktop shortcut will also be created automatically. To use it, right-click on the icon and select “Allow Launching.

Install WinSCP on Ubuntu 22.04 LTS Jammy Jellyfish

Congratulations! You have successfully installed WinSCP. Thanks for using this tutorial for installing the WinSCP on the Ubuntu system. For additional help or useful information, we recommend you check the official WinSCP website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button