Differences

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

Link to this comparison view

Both sides previous revision Previous revision
download:sac2c [2017/12/13 20:09]
hnv Simplified package list
download:sac2c [2018/01/29 23:20] (current)
hnv updated tgz install instructions
Line 64: Line 64:
 </​panel>​ </​panel>​
 <panel type="​default"​ title="​TAR.GZ (Unix-like operating systems)">​ <panel type="​default"​ title="​TAR.GZ (Unix-like operating systems)">​
-The ''​.tar.gz''​ archive is the most basic distributable package ​that available. The archive contains ​the entire ​directory ​structure ​of the binaries and libraries ​as they should appear on the file-system of the host from the root directory ​(i.e. ''​/''​). ​The default directory structure ​is prefixed with ''/​usr/local''​.+The ''​.tar.gz''​ archive is intended for arbitrary installs, meaning ​that if you can't install ''​sac2c''​ using one of the other packages due to system permissions,​ you can use this archive to install it under you home-directory. The libraries ​of the compiler can be placed anywhere so long as the ''​sac2c''​ binary ​(and related) know where to find themFor this reason the archive provides the ''​sac2c'' ​binary (and relatedas source code to be compiled by the end-user. 
 + 
 +For simplicities sake, an install script is provided. It supports several flags, but the most important one is ''​-i''​ to indicate where you want to install everything (for example ''​~/.local''​).
  
 <alert type="​warning"​ icon="​fa fa-warning">​**Be Aware** Please remember to install all dependencies of the compiler before attempting to use it</​alert>​ <alert type="​warning"​ icon="​fa fa-warning">​**Be Aware** Please remember to install all dependencies of the compiler before attempting to use it</​alert>​
Line 70: Line 72:
 Installation of the compiler is as simple as extracting from the archive: Installation of the compiler is as simple as extracting from the archive:
 <​code>​ <​code>​
-sudo tar --strip-components=1 -C / -xzf sac2c-VERSION-RELEASE.tar.gz+mkdir ~/​temp_extract && cd ~/​temp_extract 
 +tar -xzf sac2c-VERSION-RELEASE.tar.gz 
 +$ nano README ​                           # if you want more information on the install 
 +$ bash ./​install.sh -i INSTALL_DIR ​      # and thats it 
 +$ cd ~ && rm -rf temp_extract
 </​code>​ </​code>​
 </​panel>​ </​panel>​