Editing Programs
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
-1
down vote
favorite
I've been checking out source codes of some Linux software. For instance, if I were to run cd /usr/bin
and type sudo nano libreoffice
, I would see the LibreOffice source code.
However most programs are different. For instance sudo nano cmatrix
shows a lot of junk with few recognizable strings of text. It does state at the bottom of nano "Converted from Mac format". I'm not sure what that means, and I don't see it every time I see junk like this.
How can I see the source code of a program like this, or can't I?
Note I'm looking in /usr/bin
based on this diagram. Also, note that this isn't restricted to nano. I've also tried vi, but I prefer nano.
installed-programs
 |Â
show 1 more comment
up vote
-1
down vote
favorite
I've been checking out source codes of some Linux software. For instance, if I were to run cd /usr/bin
and type sudo nano libreoffice
, I would see the LibreOffice source code.
However most programs are different. For instance sudo nano cmatrix
shows a lot of junk with few recognizable strings of text. It does state at the bottom of nano "Converted from Mac format". I'm not sure what that means, and I don't see it every time I see junk like this.
How can I see the source code of a program like this, or can't I?
Note I'm looking in /usr/bin
based on this diagram. Also, note that this isn't restricted to nano. I've also tried vi, but I prefer nano.
installed-programs
1
Thelibreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in/usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g.,apt-get source cmatrix
.
â dsstorefile1
Mar 22 at 2:29
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
3
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
If you dofile cmatrix
you'll probably see that this file is a binary (ELF).
â muclux
Mar 22 at 6:42
 |Â
show 1 more comment
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I've been checking out source codes of some Linux software. For instance, if I were to run cd /usr/bin
and type sudo nano libreoffice
, I would see the LibreOffice source code.
However most programs are different. For instance sudo nano cmatrix
shows a lot of junk with few recognizable strings of text. It does state at the bottom of nano "Converted from Mac format". I'm not sure what that means, and I don't see it every time I see junk like this.
How can I see the source code of a program like this, or can't I?
Note I'm looking in /usr/bin
based on this diagram. Also, note that this isn't restricted to nano. I've also tried vi, but I prefer nano.
installed-programs
I've been checking out source codes of some Linux software. For instance, if I were to run cd /usr/bin
and type sudo nano libreoffice
, I would see the LibreOffice source code.
However most programs are different. For instance sudo nano cmatrix
shows a lot of junk with few recognizable strings of text. It does state at the bottom of nano "Converted from Mac format". I'm not sure what that means, and I don't see it every time I see junk like this.
How can I see the source code of a program like this, or can't I?
Note I'm looking in /usr/bin
based on this diagram. Also, note that this isn't restricted to nano. I've also tried vi, but I prefer nano.
installed-programs
installed-programs
edited Mar 22 at 8:39
NerdOfCode
1,032223
1,032223
asked Mar 22 at 2:23
![](https://i.stack.imgur.com/YJu1E.jpg?s=32&g=1)
![](https://i.stack.imgur.com/YJu1E.jpg?s=32&g=1)
wolf_math
192
192
1
Thelibreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in/usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g.,apt-get source cmatrix
.
â dsstorefile1
Mar 22 at 2:29
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
3
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
If you dofile cmatrix
you'll probably see that this file is a binary (ELF).
â muclux
Mar 22 at 6:42
 |Â
show 1 more comment
1
Thelibreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in/usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g.,apt-get source cmatrix
.
â dsstorefile1
Mar 22 at 2:29
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
3
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
If you dofile cmatrix
you'll probably see that this file is a binary (ELF).
â muclux
Mar 22 at 6:42
1
1
The
libreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in /usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g., apt-get source cmatrix
.â dsstorefile1
Mar 22 at 2:29
The
libreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in /usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g., apt-get source cmatrix
.â dsstorefile1
Mar 22 at 2:29
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
3
3
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
If you do
file cmatrix
you'll probably see that this file is a binary (ELF).â muclux
Mar 22 at 6:42
If you do
file cmatrix
you'll probably see that this file is a binary (ELF).â muclux
Mar 22 at 6:42
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
4
down vote
That is not the "source code" for libreoffice
, it's just a shell script that sets up the environment and starts the real libreoffice
.
If you install the apt-src
package, you can use it to download the actual source of ubuntu packages. Read man apt-src
.
Or useapt-get source
directly.
â muru
Mar 22 at 2:36
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
That is not the "source code" for libreoffice
, it's just a shell script that sets up the environment and starts the real libreoffice
.
If you install the apt-src
package, you can use it to download the actual source of ubuntu packages. Read man apt-src
.
Or useapt-get source
directly.
â muru
Mar 22 at 2:36
add a comment |Â
up vote
4
down vote
That is not the "source code" for libreoffice
, it's just a shell script that sets up the environment and starts the real libreoffice
.
If you install the apt-src
package, you can use it to download the actual source of ubuntu packages. Read man apt-src
.
Or useapt-get source
directly.
â muru
Mar 22 at 2:36
add a comment |Â
up vote
4
down vote
up vote
4
down vote
That is not the "source code" for libreoffice
, it's just a shell script that sets up the environment and starts the real libreoffice
.
If you install the apt-src
package, you can use it to download the actual source of ubuntu packages. Read man apt-src
.
That is not the "source code" for libreoffice
, it's just a shell script that sets up the environment and starts the real libreoffice
.
If you install the apt-src
package, you can use it to download the actual source of ubuntu packages. Read man apt-src
.
answered Mar 22 at 2:31
waltinator
20.6k74068
20.6k74068
Or useapt-get source
directly.
â muru
Mar 22 at 2:36
add a comment |Â
Or useapt-get source
directly.
â muru
Mar 22 at 2:36
Or use
apt-get source
directly.â muru
Mar 22 at 2:36
Or use
apt-get source
directly.â muru
Mar 22 at 2:36
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018125%2fediting-programs%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
The
libreoffice
file you're looking at happens to be a shell script. On the other hand, the majority of the files in/usr/bin
are binaries and can't be viewed by a text editor. To get source code, you'll have to download the source; e.g.,apt-get source cmatrix
.â dsstorefile1
Mar 22 at 2:29
also /usr/bin/libreoffice is not the source code for libre office.
â ravery
Mar 22 at 2:32
3
Possible duplicate of How do I get and modify the source code of packages installed through apt-get?
â muru
Mar 22 at 2:36
It is most likely compiled...However, you can find the source code for LibreOffice... there --> github.com/LibreOffice
â NerdOfCode
Mar 22 at 2:56
If you do
file cmatrix
you'll probably see that this file is a binary (ELF).â muclux
Mar 22 at 6:42