Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.
GNU General Public License v3.0
588 stars 35 forks source link

How to install to linux mint #27

Closed dan83m closed 6 years ago

dan83m commented 6 years ago

sorry but i can't find a way to install it ot linux mint, how to do it? i'm a newbie linux user

Francesco149 commented 6 years ago

sorry, the binary builds are very outdated and the readme needs a refresh at the moment but I can help with building from source, it's pretty simple

try:

sudo apt update
sudo apt install golang-go libgtk-2.0-dev git
go get github.com/Francesco149/sharenix
mkdir ~/bin
echo 'export PATH="~/go/bin:$PATH"' >> ~/.bashrc
echo 'export PATH="~/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
cp ~/go/src/github.com/Francesco149/sharenix/sharenix.json ~/.sharenix.json
cp ~/go/src/github.com/Francesco149/sharenix/sharenix-{section,window} ~/bin

this should

I wrote these instructions by heart so there might be mistakes but it should give you an idea on what to do

now you should be able to run

sharenix-section

select a region and it should upload it

or you can bind it to a key

see README or just run sharenix for help on usage

Francesco149 commented 6 years ago

updated instructions and binaries.

https://github.com/Francesco149/sharenix#installing---arch-linux