Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

how to install WinSCP on linux

cotne nazarashvili edited this page Sep 25, 2015 · 4 revisions

you need to run this script 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 <<EOF > /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
Clone this wiki locally