Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
8e4b84c8
Commit
8e4b84c8
authored
Aug 06, 2013
by
Michał Siwek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display details about installation
parent
71bdc542
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
install_chromebrew.sh
install_chromebrew.sh
+15
-1
No files found.
install_chromebrew.sh
View file @
8e4b84c8
#cd to /usr/local so we are certain we are able to execute stuff (certain partitions are mounted with no execute privileges)
echo
"Changing working directory to /usr/local"
cd
/usr/local
#create work directory and cd into it
#create installation directory and cd into it
echo
"Creating installation directory (/usr/local/chromebrew_install)"
mkdir
chromebrew_install
cd
chromebrew_install
#download installation files
echo
"Downloading installation files"
wget https://raw.github.com/skycocker/chromebrew/master/
$(
uname
-m
)
_links
wget https://raw.github.com/skycocker/chromebrew/master/lib_files_already_present_in_system_list
#download precompiled core tarballs
echo
"Downloading core tarballs (this may take a while)"
for
url
in
$(
cat
$(
uname
-m
)
_links
)
do
wget
--content-disposition
$url
done
#extract tarballs
echo
"Extracting core tarballs (this may take a while)..."
for
tarball
in
*
.tar.gz
do
tar
-xf
$tarball
done
#install tarballs content
echo
"Installing core files..."
cp
-r
usr/
*
/usr
#this is sort of an ugly hack, fix if you feel like it's worth your time :p
echo
"Creating symlinks..."
ln
-s
/usr/local/lib/libmpc.so.3 /usr/local/lib/libmpc.so.2
#link already present files to avoid conflicts
...
...
@@ -32,3 +39,10 @@ for filename in $(cat lib_files_already_present_in_system_list)
do
ln
-s
/lib/
$filename
/usr/local/lib/
$filename
done
#check if gcc installation succeeded
if
[
-f
/usr/local/bin/gcc
]
;
then
echo
"Installation complete! You can now run gcc :)"
else
echo
"An unexpected error occured :/"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment