How to install WinSCP on linux (Ubuntu)

  UBUNTU

how to install WinSCP on linux
cotne nazarashvili edited this page on 25 Sep 2015 ยท 2 revisions
Pages 2

Home
how to install WinSCP on linux

Clone this wiki locally

install dependencies execute one from this commands

dnf install wine icoutils imagemagick # fedora 22
yum install wine icoutils imagemagick # fedora old
apt-get install wine icoutils imagemagick # ubuntu

install WinSCP (execute as root)

wget http://sourceforge.net/projects/winscp/files/WinSCP/5.7.5/winscp575.zip/download -O winscp.zip
mkdir /opt/WinSCP
unzip winscp.zip -d /opt/WinSCP
chmod +x /opt/WinSCP/WinSCP.exe
chmod +x /opt/WinSCP/WinSCP.com

touch /usr/share/applications/WinSCP.desktop

cat < /usr/share/applications/WinSCP.desktop
[Desktop Entry]
Name=WinSCP
Exec=WinSCP
Icon=WinSCP
Type=Application
Categories=GTK;GNOME;Utility;
EOF

ln -s /opt/WinSCP/WinSCP.exe /bin/WinSCP

wrestool -x -n MAINICON /opt/WinSCP/WinSCP.exe > /opt/WinSCP/WinSCP.ico
convert /opt/WinSCP/WinSCP.ico\[0\] /usr/share/icons/WinSCP.png

rm winscp.zip -f

LEAVE A COMMENT