When I try to open hplip download, gedit shows the folowing:"The file you opened has some invalid characters. If you continue editing this file you could corrupt this document."

Asked by Michael Litman

I have Ubuntu 16.04 LTS. I'm trying to install hplip. When I try to open the download folder it loads in gedit. I get the following message: "The file you opened has some invalid characters. If you continue editing this file you could corrupt this document." What am I doing wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Michael Litman (precisionboat) said :
#1

I should mention that I have just enough knowledge of lInux and computers in general to install ubuntu on my computers- but that was the limit-

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#2

You are not supposed to open the file with the editor, but to start it as an install script.

Open a terminal window and execute the command

cd <directoryname>
sh hplip-<version>.run

(replace directoryname by the name of the directory where you have stored the downloaded file, and replace version by the version number, probably something like 3.17.11)

Revision history for this message
Michael Litman (precisionboat) said :
#3

Thanks Manfred Hampl, that solved my question.