Session 2 : C programming

We are going to learn programming in C in Linux with nano, the first thing that I’ve had to do was to install the packages for nano because before creating a directory part-1 and creating a file called hello_world_1.c we try to open it with nano

fi1.png

We are going to create the file for object and create also the link for the executable file

f5.png

The hello_world_1.o is our object file and hello_world_1 is the executable. Before that we are going to move this files to another directory so we will create the directory called example-01

f4

 

fi2

 

Anuncios

Upgrading to Fedora 27 Beta

Fedora 27 Beta was released last week and we are going to upgrade our fedora 26 to fedora 27 Beta. We can see our fedora release with this command

3

Then with the following command we are going to tell to the Software application for detecting the availability of a prerelease, in this case Fedora 27 Beta.:

1

And if you don’t want to wait for the Software service to refresh its information, you can force it to do this with this command:

2

Now open the Software app. Click on the Updates tab. After a short time or also if the update is not there you have to restart your computer, then the Software app retrieves fresh information about the prerelease.

Use the Download button to download the upgrade data for Fedora 27 Beta. Finally we have to follow the steps to reboot and install the upgrade, which will take a lot of time. When your system restarts after the upgrade, we can check that certainly we have fedora 27 😀

fiiiii.png

 

First session of GSoC Training Road to 2018

We met in the classroom 314 at the UIGV to start the first session of GSOC Training, I noticed that all the guys in the classroom were very enthusiastic about the GSOC, all of us want to apply to this program and be one of the winners.

Google-Summer-of-Code-March-3-2017

We are students from differents universities in Peru like UNI, UNMSM, UNTELCS, UPIC, PUCP, and we are in the proccess of learning about linux and programming.

It’s important to know about the history of the free software because we need to know the philosophy to share with other people and help other people to be involved in free software, for that reason our trainer Julita Inca was telling us how it begin and how it were growing at time.

For that reason before you start to get involved in this world of free software you have to remember all the time this simple four tips:

0.  Freedom to run the program as you wish.
1. Freedom to study the source code of the program and then change it so the program does what you wish.
2. Freedom to help your neighbour. That’s the freedom to redistribute the exact copies of the software when you wish.
3. Freedom to contribute to your community. That’s the freedom to distribute copies or modified versions when you wish.

richard-stallman-barcelona_1_carrousel_bootstrap

The first thing we are going to do is learn some basic commands on linux. We start with the command pwd: print working directory, to know where we are located in the computer

unnamed

then we use cd to move another directories, ls to show the directories and archives and pwd to know where we are located

image

one thing I didn’t know was that with the command ls -a we can see the hidden archives and those are identified with a dot after them, also we can create hidden archives putting a dot after the name of the archive. For example I clone a repository called Linux in mi computer and when you clone a repository, it create a hidden archive called .git

image (1)

It’s also important to know how to manage the content of an archive, so you can edit it, that’s why we started to see how to manage vim.

Some examples here:

 

There are a lot of commands in Linux and for the end of the day I think that we won’t never know everything about it but fortunately we like the challenges so we can keep it in that way of continue learning.

 

Thanks to all the guys in the group and to our trainer Julita 😀