Francesco149 / sharenix

A ShareX clone for Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install to linux mint

dan83m opened this issue · comments

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

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

  • update package list for apt-get
  • install golang and dependencies for sharenix
  • compile and install the latest build
  • add the ~/go/bin and ~/bin as search paths for executables to your default shell profile
  • reload the shell profile
  • copy additional config and scripts where they belong

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