User Tools

Site Tools


howto:installpastecat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:installpastecat [2015/05/06 20:45]
jlflorit
howto:installpastecat [2015/12/03 18:12] (current)
felix
Line 34: Line 34:
 In this particular case we are going to download the binaries from the git repository with the following command line: In this particular case we are going to download the binaries from the git repository with the following command line:
  
-<​code>​wget https://​github.com/​mvdan/​pastecat/​releases/​download/​v0.3.0/​pastecat_linux_386</​code>​+<​code>​https://​github.com/​mvdan/​pastecat/​releases/​download/​v0.3.0/​pastecat_linux_386_v0.3.0</​code>​
  
 Note that in this case we are downloading a specific version for a Linux with a 386 architecture. Note that in this case we are downloading a specific version for a Linux with a 386 architecture.
Line 92: Line 92:
 In our particular case, the first thing we need to do is downloading the binary from the release. In order to do this we will make use of the mentioned ''​wget''​ command. Given a URL to a file, this command allows us to download this file in our system, and this is what we will do in our system (as mentioned before): In our particular case, the first thing we need to do is downloading the binary from the release. In order to do this we will make use of the mentioned ''​wget''​ command. Given a URL to a file, this command allows us to download this file in our system, and this is what we will do in our system (as mentioned before):
  
-<​code>​wget https://​github.com/​mvdan/​pastecat/​releases/​download/​v0.3.0/​pastecat_linux_386</​code>​+<​code>​https://​github.com/​mvdan/​pastecat/​releases/​download/​v0.3.0/​pastecat_linux_386_v0.3.0</​code>​
  
 Once we have the binary, we just need to move it to a directory where executable files use to be located. In our case, we will use the directory ''/​opt/​pastecat/''​. To move these files through our system we will use the command ''​mv''​. However, first of all we need to create the directory where we will place our binary. To do this we use the ''​mkdir''​ command as is shown below: Once we have the binary, we just need to move it to a directory where executable files use to be located. In our case, we will use the directory ''/​opt/​pastecat/''​. To move these files through our system we will use the command ''​mv''​. However, first of all we need to create the directory where we will place our binary. To do this we use the ''​mkdir''​ command as is shown below:
howto/installpastecat.txt ยท Last modified: 2015/12/03 18:12 by felix