Manjaro Difference between revisions of "Alternative way to install ManjaroISO"

Difference between revisions of "Alternative way to install ManjaroISO"

From Manjaro
imported>Peter li
m
m (add template UserCmd)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages/>
__TOC__
__TOC__


 
<translate>
<!--T:1-->
{{warning|As of March 2015 manjaroiso is deprecated , [[Manjaro-tools]] is the way! }}
{{warning|As of March 2015 manjaroiso is deprecated , [[Manjaro-tools]] is the way! }}




<!--T:2-->
There is an alternative way to install and use [[ManjaroISO]].
There is an alternative way to install and use [[ManjaroISO]].


<!--T:3-->
This method is more flexible and is perfect for everybody, who wants to build a RC or pre release version of the next Manjaro version. It can also help with incompatibilities of ManjaroISO profiles.  
This method is more flexible and is perfect for everybody, who wants to build a RC or pre release version of the next Manjaro version. It can also help with incompatibilities of ManjaroISO profiles.  


<!--T:4-->
This is the preferred method of all developers, who want to maintain their own spin of Manjaro and commit changes in their ManjaroISO profile folders to the ManjaroISO Github.
This is the preferred method of all developers, who want to maintain their own spin of Manjaro and commit changes in their ManjaroISO profile folders to the ManjaroISO Github.




==1. Create a work directory==
==1. Create a work directory== <!--T:5-->


<!--T:6-->
The first thing you should probably do is create a directory to work in, and cd to it. This'll help keep things organized.  
The first thing you should probably do is create a directory to work in, and cd to it. This'll help keep things organized.  


   mkdir -p ~/work/
   <!--T:7-->
{{UserCmd|command=mkdir -p ~/work/}}




==2. Update your system==
==2. Update your system== <!--T:8-->


<!--T:9-->
To update your system
To update your system


   sudo pacman -Syu
   <!--T:10-->
{{UserCmd|command=sudo pacman -Syu}}




==3. Install ManjaroISO==
==3. Install ManjaroISO== <!--T:11-->


<!--T:12-->
Next, install manjaroiso without its profiles:
Next, install manjaroiso without its profiles:


   sudo pacman -S manjaroiso
   <!--T:13-->
{{UserCmd|command=sudo pacman -S manjaroiso}}




==4. Clone from Github==
==4. Clone from Github== <!--T:14-->


<!--T:15-->
The latest code for ManjaroISO is available on [https://github.com/manjaro/manjaroiso/ Github].  
The latest code for ManjaroISO is available on [https://github.com/manjaro/manjaroiso/ Github].  
There is the "master" branch and the "development" branch available.  
There is the "master" branch and the "development" branch available.  


<!--T:16-->
The "'''master'''" branch is meant for creation of install-medias based on the latest '''stable''' Manjaro release.  
The "'''master'''" branch is meant for creation of install-medias based on the latest '''stable''' Manjaro release.  
Clone ManjaroISO directly from Github to your work directory:
Clone ManjaroISO directly from Github to your work directory:


  git clone https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso
  <!--T:17-->
{{UserCmd|command=git clone https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso}}




<!--T:18-->
The "'''development'''" branch contains code for ''buildiso'' to build a '''RC''' or '''pre''' release install-media. Additionally, it contains more ManjaroISO profiles.  
The "'''development'''" branch contains code for ''buildiso'' to build a '''RC''' or '''pre''' release install-media. Additionally, it contains more ManjaroISO profiles.  


<!--T:19-->
Attention: Not all ManjaroISO profiles in the "development" branch work and it can contain more bugs. Usually, it is updated more often, too.
Attention: Not all ManjaroISO profiles in the "development" branch work and it can contain more bugs. Usually, it is updated more often, too.


<!--T:20-->
Clone ManjaroISO from the "development" branch on Github:
Clone ManjaroISO from the "development" branch on Github:


  git clone -b development https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso
  <!--T:21-->
{{UserCmd|command=git clone -b development https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso}}




==Updates==
==Updates== <!--T:22-->


<!--T:23-->
Immediately after you have cloned the code from Github - as described in the last chapter - your ManjaroISO is up-to-date. When you wait a couple of days or longer, it is recommended to update.  
Immediately after you have cloned the code from Github - as described in the last chapter - your ManjaroISO is up-to-date. When you wait a couple of days or longer, it is recommended to update.  


<!--T:24-->
An update pulls the latest changes from Github and puts them in your <code>~/work/manjaroiso</code> directory. Therefore, the following commands make sense.
An update pulls the latest changes from Github and puts them in your <code>~/work/manjaroiso</code> directory. Therefore, the following commands make sense.


<!--T:25-->
First, you have to make sure you are in the directory you cloned the code from Github:
First, you have to make sure you are in the directory you cloned the code from Github:


  cd ~/work/manjaroiso
  <!--T:26-->
{{UserCmd|command=cd ~/work/manjaroiso}}




<!--T:27-->
Use this "update" command, if you cloned from the master branch:
Use this "update" command, if you cloned from the master branch:


  git pull origin master
  <!--T:28-->
{{UserCmd|command=git pull origin master}}


<!--T:29-->
Use this "update" command, if you cloned from the development branch:
Use this "update" command, if you cloned from the development branch:


  git pull origin development
  <!--T:30-->
{{UserCmd|command=git pull origin development}}




<!--T:31-->
These "update" commands do '''not''' overwrite any changes you have made to files.
These "update" commands do '''not''' overwrite any changes you have made to files.




==Differences==
==Differences== <!--T:32-->


<!--T:33-->
In comparison to the other way to install [[ManjaroISO]], there are a couple more files and directories in your <code>~/work/manjaroiso/</code> folder. But other than that, everything works the same.
In comparison to the other way to install [[ManjaroISO]], there are a couple more files and directories in your <code>~/work/manjaroiso/</code> folder. But other than that, everything works the same.


Now, you can modify your ManjaroISO profile and use ''buildiso'' to build your own install-media as described [https://wiki.manjaro.org/index.php?title=ManjaroISO#Modifying_a_ManjaroISO_Profile here].
<!--T:34-->
 
Now, you can modify your ManjaroISO profile and use ''buildiso'' to build your own install-media as described [[ManjaroISO#Modifying_a_ManjaroISO_Profile|here]].
</translate>




[[Category:Top level]]
[[Category:Contents Page{{#translation:}}]]
[[Category:ISO{{#translation:}}]]

Latest revision as of 04:51, 17 January 2023

Other languages:
English • ‎Türkçe • ‎русский


Warning
As of March 2015 manjaroiso is deprecated , Manjaro-tools is the way!


There is an alternative way to install and use ManjaroISO.

This method is more flexible and is perfect for everybody, who wants to build a RC or pre release version of the next Manjaro version. It can also help with incompatibilities of ManjaroISO profiles.

This is the preferred method of all developers, who want to maintain their own spin of Manjaro and commit changes in their ManjaroISO profile folders to the ManjaroISO Github.


1. Create a work directory

The first thing you should probably do is create a directory to work in, and cd to it. This'll help keep things organized.

user $ mkdir -p ~/work/ COPY TO CLIPBOARD



2. Update your system

To update your system

user $ sudo pacman -Syu COPY TO CLIPBOARD



3. Install ManjaroISO

Next, install manjaroiso without its profiles:

user $ sudo pacman -S manjaroiso COPY TO CLIPBOARD



4. Clone from Github

The latest code for ManjaroISO is available on Github. There is the "master" branch and the "development" branch available.

The "master" branch is meant for creation of install-medias based on the latest stable Manjaro release. Clone ManjaroISO directly from Github to your work directory:

user $ git clone https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso COPY TO CLIPBOARD



The "development" branch contains code for buildiso to build a RC or pre release install-media. Additionally, it contains more ManjaroISO profiles.

Attention: Not all ManjaroISO profiles in the "development" branch work and it can contain more bugs. Usually, it is updated more often, too.

Clone ManjaroISO from the "development" branch on Github:

user $ git clone -b development https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso COPY TO CLIPBOARD



Updates

Immediately after you have cloned the code from Github - as described in the last chapter - your ManjaroISO is up-to-date. When you wait a couple of days or longer, it is recommended to update.

An update pulls the latest changes from Github and puts them in your ~/work/manjaroiso directory. Therefore, the following commands make sense.

First, you have to make sure you are in the directory you cloned the code from Github:

user $ cd ~/work/manjaroiso COPY TO CLIPBOARD



Use this "update" command, if you cloned from the master branch:

user $ git pull origin master COPY TO CLIPBOARD


Use this "update" command, if you cloned from the development branch:

user $ git pull origin development COPY TO CLIPBOARD



These "update" commands do not overwrite any changes you have made to files.


Differences

In comparison to the other way to install ManjaroISO, there are a couple more files and directories in your ~/work/manjaroiso/ folder. But other than that, everything works the same.

Now, you can modify your ManjaroISO profile and use buildiso to build your own install-media as described here.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.